# -*- coding: utf-8 -*-
import numpy as np
import pandas as pd

s3 = pd.Series({'A':1, 'B': 2, 'C':3})
print(s3)
print(s3.values)

print(s3['A'])

s4 = pd.Series([4,5,6], index=['C', 'D', 'E'])

# index替换
index_1 = ['A', 'B', 'C', 'D']
s5 = pd.Series(s4, index=index_1)
print(s5)
